package cn.hk.archives.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class archivesGravidaExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public archivesGravidaExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNull() {
            addCriterion("birthday is null");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNotNull() {
            addCriterion("birthday is not null");
            return (Criteria) this;
        }

        public Criteria andBirthdayEqualTo(String value) {
            addCriterion("birthday =", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotEqualTo(String value) {
            addCriterion("birthday <>", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThan(String value) {
            addCriterion("birthday >", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThanOrEqualTo(String value) {
            addCriterion("birthday >=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThan(String value) {
            addCriterion("birthday <", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThanOrEqualTo(String value) {
            addCriterion("birthday <=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLike(String value) {
            addCriterion("birthday like", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotLike(String value) {
            addCriterion("birthday not like", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayIn(List<String> values) {
            addCriterion("birthday in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotIn(List<String> values) {
            addCriterion("birthday not in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayBetween(String value1, String value2) {
            addCriterion("birthday between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotBetween(String value1, String value2) {
            addCriterion("birthday not between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andGenderIsNull() {
            addCriterion("gender is null");
            return (Criteria) this;
        }

        public Criteria andGenderIsNotNull() {
            addCriterion("gender is not null");
            return (Criteria) this;
        }

        public Criteria andGenderEqualTo(Boolean value) {
            addCriterion("gender =", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotEqualTo(Boolean value) {
            addCriterion("gender <>", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThan(Boolean value) {
            addCriterion("gender >", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThanOrEqualTo(Boolean value) {
            addCriterion("gender >=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThan(Boolean value) {
            addCriterion("gender <", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThanOrEqualTo(Boolean value) {
            addCriterion("gender <=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderIn(List<Boolean> values) {
            addCriterion("gender in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotIn(List<Boolean> values) {
            addCriterion("gender not in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderBetween(Boolean value1, Boolean value2) {
            addCriterion("gender between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotBetween(Boolean value1, Boolean value2) {
            addCriterion("gender not between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andHeightIsNull() {
            addCriterion("height is null");
            return (Criteria) this;
        }

        public Criteria andHeightIsNotNull() {
            addCriterion("height is not null");
            return (Criteria) this;
        }

        public Criteria andHeightEqualTo(Double value) {
            addCriterion("height =", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightNotEqualTo(Double value) {
            addCriterion("height <>", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightGreaterThan(Double value) {
            addCriterion("height >", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightGreaterThanOrEqualTo(Double value) {
            addCriterion("height >=", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightLessThan(Double value) {
            addCriterion("height <", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightLessThanOrEqualTo(Double value) {
            addCriterion("height <=", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightIn(List<Double> values) {
            addCriterion("height in", values, "height");
            return (Criteria) this;
        }

        public Criteria andHeightNotIn(List<Double> values) {
            addCriterion("height not in", values, "height");
            return (Criteria) this;
        }

        public Criteria andHeightBetween(Double value1, Double value2) {
            addCriterion("height between", value1, value2, "height");
            return (Criteria) this;
        }

        public Criteria andHeightNotBetween(Double value1, Double value2) {
            addCriterion("height not between", value1, value2, "height");
            return (Criteria) this;
        }

        public Criteria andWeightIsNull() {
            addCriterion("weight is null");
            return (Criteria) this;
        }

        public Criteria andWeightIsNotNull() {
            addCriterion("weight is not null");
            return (Criteria) this;
        }

        public Criteria andWeightEqualTo(Double value) {
            addCriterion("weight =", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualTo(Double value) {
            addCriterion("weight <>", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThan(Double value) {
            addCriterion("weight >", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("weight >=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThan(Double value) {
            addCriterion("weight <", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualTo(Double value) {
            addCriterion("weight <=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightIn(List<Double> values) {
            addCriterion("weight in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotIn(List<Double> values) {
            addCriterion("weight not in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightBetween(Double value1, Double value2) {
            addCriterion("weight between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotBetween(Double value1, Double value2) {
            addCriterion("weight not between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNull() {
            addCriterion("id_card is null");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNotNull() {
            addCriterion("id_card is not null");
            return (Criteria) this;
        }

        public Criteria andIdCardEqualTo(String value) {
            addCriterion("id_card =", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotEqualTo(String value) {
            addCriterion("id_card <>", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThan(String value) {
            addCriterion("id_card >", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThanOrEqualTo(String value) {
            addCriterion("id_card >=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThan(String value) {
            addCriterion("id_card <", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThanOrEqualTo(String value) {
            addCriterion("id_card <=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLike(String value) {
            addCriterion("id_card like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotLike(String value) {
            addCriterion("id_card not like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardIn(List<String> values) {
            addCriterion("id_card in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotIn(List<String> values) {
            addCriterion("id_card not in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardBetween(String value1, String value2) {
            addCriterion("id_card between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotBetween(String value1, String value2) {
            addCriterion("id_card not between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andIsGravidaIsNull() {
            addCriterion("is_gravida is null");
            return (Criteria) this;
        }

        public Criteria andIsGravidaIsNotNull() {
            addCriterion("is_gravida is not null");
            return (Criteria) this;
        }

        public Criteria andIsGravidaEqualTo(Byte value) {
            addCriterion("is_gravida =", value, "isGravida");
            return (Criteria) this;
        }

        public Criteria andIsGravidaNotEqualTo(Byte value) {
            addCriterion("is_gravida <>", value, "isGravida");
            return (Criteria) this;
        }

        public Criteria andIsGravidaGreaterThan(Byte value) {
            addCriterion("is_gravida >", value, "isGravida");
            return (Criteria) this;
        }

        public Criteria andIsGravidaGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_gravida >=", value, "isGravida");
            return (Criteria) this;
        }

        public Criteria andIsGravidaLessThan(Byte value) {
            addCriterion("is_gravida <", value, "isGravida");
            return (Criteria) this;
        }

        public Criteria andIsGravidaLessThanOrEqualTo(Byte value) {
            addCriterion("is_gravida <=", value, "isGravida");
            return (Criteria) this;
        }

        public Criteria andIsGravidaIn(List<Byte> values) {
            addCriterion("is_gravida in", values, "isGravida");
            return (Criteria) this;
        }

        public Criteria andIsGravidaNotIn(List<Byte> values) {
            addCriterion("is_gravida not in", values, "isGravida");
            return (Criteria) this;
        }

        public Criteria andIsGravidaBetween(Byte value1, Byte value2) {
            addCriterion("is_gravida between", value1, value2, "isGravida");
            return (Criteria) this;
        }

        public Criteria andIsGravidaNotBetween(Byte value1, Byte value2) {
            addCriterion("is_gravida not between", value1, value2, "isGravida");
            return (Criteria) this;
        }

        public Criteria andFinalMenstruationTimeIsNull() {
            addCriterion("final_menstruation_time is null");
            return (Criteria) this;
        }

        public Criteria andFinalMenstruationTimeIsNotNull() {
            addCriterion("final_menstruation_time is not null");
            return (Criteria) this;
        }

        public Criteria andFinalMenstruationTimeEqualTo(String value) {
            addCriterion("final_menstruation_time =", value, "finalMenstruationTime");
            return (Criteria) this;
        }

        public Criteria andFinalMenstruationTimeNotEqualTo(String value) {
            addCriterion("final_menstruation_time <>", value, "finalMenstruationTime");
            return (Criteria) this;
        }

        public Criteria andFinalMenstruationTimeGreaterThan(String value) {
            addCriterion("final_menstruation_time >", value, "finalMenstruationTime");
            return (Criteria) this;
        }

        public Criteria andFinalMenstruationTimeGreaterThanOrEqualTo(String value) {
            addCriterion("final_menstruation_time >=", value, "finalMenstruationTime");
            return (Criteria) this;
        }

        public Criteria andFinalMenstruationTimeLessThan(String value) {
            addCriterion("final_menstruation_time <", value, "finalMenstruationTime");
            return (Criteria) this;
        }

        public Criteria andFinalMenstruationTimeLessThanOrEqualTo(String value) {
            addCriterion("final_menstruation_time <=", value, "finalMenstruationTime");
            return (Criteria) this;
        }

        public Criteria andFinalMenstruationTimeLike(String value) {
            addCriterion("final_menstruation_time like", value, "finalMenstruationTime");
            return (Criteria) this;
        }

        public Criteria andFinalMenstruationTimeNotLike(String value) {
            addCriterion("final_menstruation_time not like", value, "finalMenstruationTime");
            return (Criteria) this;
        }

        public Criteria andFinalMenstruationTimeIn(List<String> values) {
            addCriterion("final_menstruation_time in", values, "finalMenstruationTime");
            return (Criteria) this;
        }

        public Criteria andFinalMenstruationTimeNotIn(List<String> values) {
            addCriterion("final_menstruation_time not in", values, "finalMenstruationTime");
            return (Criteria) this;
        }

        public Criteria andFinalMenstruationTimeBetween(String value1, String value2) {
            addCriterion("final_menstruation_time between", value1, value2, "finalMenstruationTime");
            return (Criteria) this;
        }

        public Criteria andFinalMenstruationTimeNotBetween(String value1, String value2) {
            addCriterion("final_menstruation_time not between", value1, value2, "finalMenstruationTime");
            return (Criteria) this;
        }

        public Criteria andPrenatalcheckOrgIsNull() {
            addCriterion("prenatalcheck_org is null");
            return (Criteria) this;
        }

        public Criteria andPrenatalcheckOrgIsNotNull() {
            addCriterion("prenatalcheck_org is not null");
            return (Criteria) this;
        }

        public Criteria andPrenatalcheckOrgEqualTo(String value) {
            addCriterion("prenatalcheck_org =", value, "prenatalcheckOrg");
            return (Criteria) this;
        }

        public Criteria andPrenatalcheckOrgNotEqualTo(String value) {
            addCriterion("prenatalcheck_org <>", value, "prenatalcheckOrg");
            return (Criteria) this;
        }

        public Criteria andPrenatalcheckOrgGreaterThan(String value) {
            addCriterion("prenatalcheck_org >", value, "prenatalcheckOrg");
            return (Criteria) this;
        }

        public Criteria andPrenatalcheckOrgGreaterThanOrEqualTo(String value) {
            addCriterion("prenatalcheck_org >=", value, "prenatalcheckOrg");
            return (Criteria) this;
        }

        public Criteria andPrenatalcheckOrgLessThan(String value) {
            addCriterion("prenatalcheck_org <", value, "prenatalcheckOrg");
            return (Criteria) this;
        }

        public Criteria andPrenatalcheckOrgLessThanOrEqualTo(String value) {
            addCriterion("prenatalcheck_org <=", value, "prenatalcheckOrg");
            return (Criteria) this;
        }

        public Criteria andPrenatalcheckOrgLike(String value) {
            addCriterion("prenatalcheck_org like", value, "prenatalcheckOrg");
            return (Criteria) this;
        }

        public Criteria andPrenatalcheckOrgNotLike(String value) {
            addCriterion("prenatalcheck_org not like", value, "prenatalcheckOrg");
            return (Criteria) this;
        }

        public Criteria andPrenatalcheckOrgIn(List<String> values) {
            addCriterion("prenatalcheck_org in", values, "prenatalcheckOrg");
            return (Criteria) this;
        }

        public Criteria andPrenatalcheckOrgNotIn(List<String> values) {
            addCriterion("prenatalcheck_org not in", values, "prenatalcheckOrg");
            return (Criteria) this;
        }

        public Criteria andPrenatalcheckOrgBetween(String value1, String value2) {
            addCriterion("prenatalcheck_org between", value1, value2, "prenatalcheckOrg");
            return (Criteria) this;
        }

        public Criteria andPrenatalcheckOrgNotBetween(String value1, String value2) {
            addCriterion("prenatalcheck_org not between", value1, value2, "prenatalcheckOrg");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("create_user is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("create_user is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("create_user =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("create_user <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("create_user >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("create_user >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("create_user <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("create_user <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("create_user like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("create_user not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("create_user in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("create_user not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("create_user between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("create_user not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("update_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("update_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("update_user =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("update_user <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("update_user >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("update_user >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("update_user <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("update_user <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("update_user like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("update_user not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("update_user in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("update_user not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("update_user between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("update_user not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andGestationalAgeIsNull() {
            addCriterion("gestational_age is null");
            return (Criteria) this;
        }

        public Criteria andGestationalAgeIsNotNull() {
            addCriterion("gestational_age is not null");
            return (Criteria) this;
        }

        public Criteria andGestationalAgeEqualTo(Integer value) {
            addCriterion("gestational_age =", value, "gestationalAge");
            return (Criteria) this;
        }

        public Criteria andGestationalAgeNotEqualTo(Integer value) {
            addCriterion("gestational_age <>", value, "gestationalAge");
            return (Criteria) this;
        }

        public Criteria andGestationalAgeGreaterThan(Integer value) {
            addCriterion("gestational_age >", value, "gestationalAge");
            return (Criteria) this;
        }

        public Criteria andGestationalAgeGreaterThanOrEqualTo(Integer value) {
            addCriterion("gestational_age >=", value, "gestationalAge");
            return (Criteria) this;
        }

        public Criteria andGestationalAgeLessThan(Integer value) {
            addCriterion("gestational_age <", value, "gestationalAge");
            return (Criteria) this;
        }

        public Criteria andGestationalAgeLessThanOrEqualTo(Integer value) {
            addCriterion("gestational_age <=", value, "gestationalAge");
            return (Criteria) this;
        }

        public Criteria andGestationalAgeIn(List<Integer> values) {
            addCriterion("gestational_age in", values, "gestationalAge");
            return (Criteria) this;
        }

        public Criteria andGestationalAgeNotIn(List<Integer> values) {
            addCriterion("gestational_age not in", values, "gestationalAge");
            return (Criteria) this;
        }

        public Criteria andGestationalAgeBetween(Integer value1, Integer value2) {
            addCriterion("gestational_age between", value1, value2, "gestationalAge");
            return (Criteria) this;
        }

        public Criteria andGestationalAgeNotBetween(Integer value1, Integer value2) {
            addCriterion("gestational_age not between", value1, value2, "gestationalAge");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeIsNull() {
            addCriterion("last_update_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeIsNotNull() {
            addCriterion("last_update_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeEqualTo(Date value) {
            addCriterion("last_update_time =", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeNotEqualTo(Date value) {
            addCriterion("last_update_time <>", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeGreaterThan(Date value) {
            addCriterion("last_update_time >", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_update_time >=", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeLessThan(Date value) {
            addCriterion("last_update_time <", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_update_time <=", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeIn(List<Date> values) {
            addCriterion("last_update_time in", values, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeNotIn(List<Date> values) {
            addCriterion("last_update_time not in", values, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("last_update_time between", value1, value2, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_update_time not between", value1, value2, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andGestationalPeriodIsNull() {
            addCriterion("gestational_period is null");
            return (Criteria) this;
        }

        public Criteria andGestationalPeriodIsNotNull() {
            addCriterion("gestational_period is not null");
            return (Criteria) this;
        }

        public Criteria andGestationalPeriodEqualTo(Date value) {
            addCriterion("gestational_period =", value, "gestationalPeriod");
            return (Criteria) this;
        }

        public Criteria andGestationalPeriodNotEqualTo(Date value) {
            addCriterion("gestational_period <>", value, "gestationalPeriod");
            return (Criteria) this;
        }

        public Criteria andGestationalPeriodGreaterThan(Date value) {
            addCriterion("gestational_period >", value, "gestationalPeriod");
            return (Criteria) this;
        }

        public Criteria andGestationalPeriodGreaterThanOrEqualTo(Date value) {
            addCriterion("gestational_period >=", value, "gestationalPeriod");
            return (Criteria) this;
        }

        public Criteria andGestationalPeriodLessThan(Date value) {
            addCriterion("gestational_period <", value, "gestationalPeriod");
            return (Criteria) this;
        }

        public Criteria andGestationalPeriodLessThanOrEqualTo(Date value) {
            addCriterion("gestational_period <=", value, "gestationalPeriod");
            return (Criteria) this;
        }

        public Criteria andGestationalPeriodIn(List<Date> values) {
            addCriterion("gestational_period in", values, "gestationalPeriod");
            return (Criteria) this;
        }

        public Criteria andGestationalPeriodNotIn(List<Date> values) {
            addCriterion("gestational_period not in", values, "gestationalPeriod");
            return (Criteria) this;
        }

        public Criteria andGestationalPeriodBetween(Date value1, Date value2) {
            addCriterion("gestational_period between", value1, value2, "gestationalPeriod");
            return (Criteria) this;
        }

        public Criteria andGestationalPeriodNotBetween(Date value1, Date value2) {
            addCriterion("gestational_period not between", value1, value2, "gestationalPeriod");
            return (Criteria) this;
        }

        public Criteria andBloodPressureUpIsNull() {
            addCriterion("blood_pressure_up is null");
            return (Criteria) this;
        }

        public Criteria andBloodPressureUpIsNotNull() {
            addCriterion("blood_pressure_up is not null");
            return (Criteria) this;
        }

        public Criteria andBloodPressureUpEqualTo(Double value) {
            addCriterion("blood_pressure_up =", value, "bloodPressureUp");
            return (Criteria) this;
        }

        public Criteria andBloodPressureUpNotEqualTo(Double value) {
            addCriterion("blood_pressure_up <>", value, "bloodPressureUp");
            return (Criteria) this;
        }

        public Criteria andBloodPressureUpGreaterThan(Double value) {
            addCriterion("blood_pressure_up >", value, "bloodPressureUp");
            return (Criteria) this;
        }

        public Criteria andBloodPressureUpGreaterThanOrEqualTo(Double value) {
            addCriterion("blood_pressure_up >=", value, "bloodPressureUp");
            return (Criteria) this;
        }

        public Criteria andBloodPressureUpLessThan(Double value) {
            addCriterion("blood_pressure_up <", value, "bloodPressureUp");
            return (Criteria) this;
        }

        public Criteria andBloodPressureUpLessThanOrEqualTo(Double value) {
            addCriterion("blood_pressure_up <=", value, "bloodPressureUp");
            return (Criteria) this;
        }

        public Criteria andBloodPressureUpIn(List<Double> values) {
            addCriterion("blood_pressure_up in", values, "bloodPressureUp");
            return (Criteria) this;
        }

        public Criteria andBloodPressureUpNotIn(List<Double> values) {
            addCriterion("blood_pressure_up not in", values, "bloodPressureUp");
            return (Criteria) this;
        }

        public Criteria andBloodPressureUpBetween(Double value1, Double value2) {
            addCriterion("blood_pressure_up between", value1, value2, "bloodPressureUp");
            return (Criteria) this;
        }

        public Criteria andBloodPressureUpNotBetween(Double value1, Double value2) {
            addCriterion("blood_pressure_up not between", value1, value2, "bloodPressureUp");
            return (Criteria) this;
        }

        public Criteria andBloodFatIsNull() {
            addCriterion("blood_fat is null");
            return (Criteria) this;
        }

        public Criteria andBloodFatIsNotNull() {
            addCriterion("blood_fat is not null");
            return (Criteria) this;
        }

        public Criteria andBloodFatEqualTo(Double value) {
            addCriterion("blood_fat =", value, "bloodFat");
            return (Criteria) this;
        }

        public Criteria andBloodFatNotEqualTo(Double value) {
            addCriterion("blood_fat <>", value, "bloodFat");
            return (Criteria) this;
        }

        public Criteria andBloodFatGreaterThan(Double value) {
            addCriterion("blood_fat >", value, "bloodFat");
            return (Criteria) this;
        }

        public Criteria andBloodFatGreaterThanOrEqualTo(Double value) {
            addCriterion("blood_fat >=", value, "bloodFat");
            return (Criteria) this;
        }

        public Criteria andBloodFatLessThan(Double value) {
            addCriterion("blood_fat <", value, "bloodFat");
            return (Criteria) this;
        }

        public Criteria andBloodFatLessThanOrEqualTo(Double value) {
            addCriterion("blood_fat <=", value, "bloodFat");
            return (Criteria) this;
        }

        public Criteria andBloodFatIn(List<Double> values) {
            addCriterion("blood_fat in", values, "bloodFat");
            return (Criteria) this;
        }

        public Criteria andBloodFatNotIn(List<Double> values) {
            addCriterion("blood_fat not in", values, "bloodFat");
            return (Criteria) this;
        }

        public Criteria andBloodFatBetween(Double value1, Double value2) {
            addCriterion("blood_fat between", value1, value2, "bloodFat");
            return (Criteria) this;
        }

        public Criteria andBloodFatNotBetween(Double value1, Double value2) {
            addCriterion("blood_fat not between", value1, value2, "bloodFat");
            return (Criteria) this;
        }

        public Criteria andBloodPressureDownIsNull() {
            addCriterion("blood_pressure_down is null");
            return (Criteria) this;
        }

        public Criteria andBloodPressureDownIsNotNull() {
            addCriterion("blood_pressure_down is not null");
            return (Criteria) this;
        }

        public Criteria andBloodPressureDownEqualTo(Double value) {
            addCriterion("blood_pressure_down =", value, "bloodPressureDown");
            return (Criteria) this;
        }

        public Criteria andBloodPressureDownNotEqualTo(Double value) {
            addCriterion("blood_pressure_down <>", value, "bloodPressureDown");
            return (Criteria) this;
        }

        public Criteria andBloodPressureDownGreaterThan(Double value) {
            addCriterion("blood_pressure_down >", value, "bloodPressureDown");
            return (Criteria) this;
        }

        public Criteria andBloodPressureDownGreaterThanOrEqualTo(Double value) {
            addCriterion("blood_pressure_down >=", value, "bloodPressureDown");
            return (Criteria) this;
        }

        public Criteria andBloodPressureDownLessThan(Double value) {
            addCriterion("blood_pressure_down <", value, "bloodPressureDown");
            return (Criteria) this;
        }

        public Criteria andBloodPressureDownLessThanOrEqualTo(Double value) {
            addCriterion("blood_pressure_down <=", value, "bloodPressureDown");
            return (Criteria) this;
        }

        public Criteria andBloodPressureDownIn(List<Double> values) {
            addCriterion("blood_pressure_down in", values, "bloodPressureDown");
            return (Criteria) this;
        }

        public Criteria andBloodPressureDownNotIn(List<Double> values) {
            addCriterion("blood_pressure_down not in", values, "bloodPressureDown");
            return (Criteria) this;
        }

        public Criteria andBloodPressureDownBetween(Double value1, Double value2) {
            addCriterion("blood_pressure_down between", value1, value2, "bloodPressureDown");
            return (Criteria) this;
        }

        public Criteria andBloodPressureDownNotBetween(Double value1, Double value2) {
            addCriterion("blood_pressure_down not between", value1, value2, "bloodPressureDown");
            return (Criteria) this;
        }

        public Criteria andDeptIdIsNull() {
            addCriterion("dept_id is null");
            return (Criteria) this;
        }

        public Criteria andDeptIdIsNotNull() {
            addCriterion("dept_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeptIdEqualTo(Long value) {
            addCriterion("dept_id =", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotEqualTo(Long value) {
            addCriterion("dept_id <>", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdGreaterThan(Long value) {
            addCriterion("dept_id >", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdGreaterThanOrEqualTo(Long value) {
            addCriterion("dept_id >=", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdLessThan(Long value) {
            addCriterion("dept_id <", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdLessThanOrEqualTo(Long value) {
            addCriterion("dept_id <=", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdIn(List<Long> values) {
            addCriterion("dept_id in", values, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotIn(List<Long> values) {
            addCriterion("dept_id not in", values, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdBetween(Long value1, Long value2) {
            addCriterion("dept_id between", value1, value2, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotBetween(Long value1, Long value2) {
            addCriterion("dept_id not between", value1, value2, "deptId");
            return (Criteria) this;
        }

        public Criteria andGestationRiskIsNull() {
            addCriterion("gestation_risk is null");
            return (Criteria) this;
        }

        public Criteria andGestationRiskIsNotNull() {
            addCriterion("gestation_risk is not null");
            return (Criteria) this;
        }

        public Criteria andGestationRiskEqualTo(String value) {
            addCriterion("gestation_risk =", value, "gestationRisk");
            return (Criteria) this;
        }

        public Criteria andGestationRiskNotEqualTo(String value) {
            addCriterion("gestation_risk <>", value, "gestationRisk");
            return (Criteria) this;
        }

        public Criteria andGestationRiskGreaterThan(String value) {
            addCriterion("gestation_risk >", value, "gestationRisk");
            return (Criteria) this;
        }

        public Criteria andGestationRiskGreaterThanOrEqualTo(String value) {
            addCriterion("gestation_risk >=", value, "gestationRisk");
            return (Criteria) this;
        }

        public Criteria andGestationRiskLessThan(String value) {
            addCriterion("gestation_risk <", value, "gestationRisk");
            return (Criteria) this;
        }

        public Criteria andGestationRiskLessThanOrEqualTo(String value) {
            addCriterion("gestation_risk <=", value, "gestationRisk");
            return (Criteria) this;
        }

        public Criteria andGestationRiskLike(String value) {
            addCriterion("gestation_risk like", value, "gestationRisk");
            return (Criteria) this;
        }

        public Criteria andGestationRiskNotLike(String value) {
            addCriterion("gestation_risk not like", value, "gestationRisk");
            return (Criteria) this;
        }

        public Criteria andGestationRiskIn(List<String> values) {
            addCriterion("gestation_risk in", values, "gestationRisk");
            return (Criteria) this;
        }

        public Criteria andGestationRiskNotIn(List<String> values) {
            addCriterion("gestation_risk not in", values, "gestationRisk");
            return (Criteria) this;
        }

        public Criteria andGestationRiskBetween(String value1, String value2) {
            addCriterion("gestation_risk between", value1, value2, "gestationRisk");
            return (Criteria) this;
        }

        public Criteria andGestationRiskNotBetween(String value1, String value2) {
            addCriterion("gestation_risk not between", value1, value2, "gestationRisk");
            return (Criteria) this;
        }

        public Criteria andBloodFatChIsNull() {
            addCriterion("blood_fat_ch is null");
            return (Criteria) this;
        }

        public Criteria andBloodFatChIsNotNull() {
            addCriterion("blood_fat_ch is not null");
            return (Criteria) this;
        }

        public Criteria andBloodFatChEqualTo(Double value) {
            addCriterion("blood_fat_ch =", value, "bloodFatCh");
            return (Criteria) this;
        }

        public Criteria andBloodFatChNotEqualTo(Double value) {
            addCriterion("blood_fat_ch <>", value, "bloodFatCh");
            return (Criteria) this;
        }

        public Criteria andBloodFatChGreaterThan(Double value) {
            addCriterion("blood_fat_ch >", value, "bloodFatCh");
            return (Criteria) this;
        }

        public Criteria andBloodFatChGreaterThanOrEqualTo(Double value) {
            addCriterion("blood_fat_ch >=", value, "bloodFatCh");
            return (Criteria) this;
        }

        public Criteria andBloodFatChLessThan(Double value) {
            addCriterion("blood_fat_ch <", value, "bloodFatCh");
            return (Criteria) this;
        }

        public Criteria andBloodFatChLessThanOrEqualTo(Double value) {
            addCriterion("blood_fat_ch <=", value, "bloodFatCh");
            return (Criteria) this;
        }

        public Criteria andBloodFatChIn(List<Double> values) {
            addCriterion("blood_fat_ch in", values, "bloodFatCh");
            return (Criteria) this;
        }

        public Criteria andBloodFatChNotIn(List<Double> values) {
            addCriterion("blood_fat_ch not in", values, "bloodFatCh");
            return (Criteria) this;
        }

        public Criteria andBloodFatChBetween(Double value1, Double value2) {
            addCriterion("blood_fat_ch between", value1, value2, "bloodFatCh");
            return (Criteria) this;
        }

        public Criteria andBloodFatChNotBetween(Double value1, Double value2) {
            addCriterion("blood_fat_ch not between", value1, value2, "bloodFatCh");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(String value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(String value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(String value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(String value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(String value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLike(String value) {
            addCriterion("state like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotLike(String value) {
            addCriterion("state not like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<String> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<String> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(String value1, String value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(String value1, String value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}